﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="prueba.aspx.cs" Inherits="EncuentraWEB.prueba" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<link href="Encuentra.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function ShowEditModal() {
            var frame = $get('IframeEdit');
            frame.src = "frmamEmpresa.aspx";
        }
        function EditCancelScript() {
            var frame = $get('IframeEdit');
            frame.src = "DemoLoading.aspx";
        }
        function EditOkayScript() {
            RefreshDataGrid();
            EditCancelScript();
        }
        function RefreshDataGrid() {
            $get('btnSearch').click();
        }
</script>
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 193px">
    
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        <asp:Button ID="Button1" runat="server" Text="Button" 
            onclick="Button1_Click1" />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click1" 
            Text="Button" />
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Button" />
        <asp:Panel ID="Panel1" runat="server" BackColor="#FF6600" Height="68px">
            PRUEBA DE OPOP<br />
            <asp:Button ID="ok" runat="server" onclick="Button2_Click" Text="ok" />
            <asp:Button ID="cancel" runat="server" Text="cancel" />
        </asp:Panel>
     
</div>

        <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" 
        BackgroundCssClass="POP"
             CancelControlID="Button2a" OkControlID="Button1a" 
            PopupControlID="DivEditWindow" TargetControlID="Panel1" 
            DropShadow="true"

             >
            
        </asp:ModalPopupExtender>

    </div>
    <div id="DivEditWindow" style="display: none">
    <iframe id="IframeEdit" rameborder="0" scrolling="no" height="503">
    </iframe>
     </div>
    </form>
       <div class="popup_Buttons" style="display: none">
    <input id="Button1a" type="button" value="Done" />
    <input id="Button2a" type="button" value="Cancel" />


</body>
</html>
